﻿using System.Collections.Generic;
using System.Web.Mvc;

namespace eLoan.Models
{
    public class BorrowerAddEditModel
    {
        public string DBCommand { get; set; }

        public BorrowerModel BorrowerModel { get; set; }

        public bool BorrwerNameIsEditable { get; set; }

        public IEnumerable<SelectListItem> Branches { get; set; }

        public string SelectedBranchCode { get; set; }

        public IEnumerable<SelectListItem> Agents { get; set; }

        public int SelectedAgentID { get; set; }

        public bool IsAdmin { get; set; }
    }

    public class ProspectAddEditModel
    {
        public string DBCommand { get; set; }

        public IEnumerable<SelectListItem> Branches { get; set; }

        public string SelectedBranchCode { get; set; }

        public IEnumerable<SelectListItem> Agents { get; set; }

        public int SelectedAgentID { get; set; }

        public Prospect Prospect { get; set; }
    }

}